{if isset($success)}
<p class="alert alert-success">$success</p>
{/if}
{else}
<p class="alert alert-danger">$error</p>
{/else}
